package com.aos.client.hystrix;


import com.aos.client.AuthServiceClient;
//import com.aos.entity.JWT;
import com.aos.util.Result;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by fangzhipeng on 2017/5/31.
 */
//@Component
public class AuthServiceHystrix implements AuthServiceClient {
    @Override
    public String data(String username, String realname, String password, String service_id, String data_type, String login_type,Long id, String salt) {
        return null;
    }

    @Override
    public Map getToken(String username, String password, String login_type, String service_id, String secret) {
        return null;
    }

    @Override
    public String logout(String accessToken) {
        return null;
    }

//    @Override
//    public JWT getToken(String authorization, String type) {
//        System.out.println("--------opps getToken hystrix---------");
//        return null;
//    }

//    @Override
//    public JWT getToken(String authorization, String type, String username, String password) {
//        System.out.println("--------opps getToken hystrix---------");
//        return null;
//    }
}
